package com.lz.domain;



import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;

/**
 * <pre>
 * @描述：
 * @作者：lizhao
 * @创建时间： 2024/8/26 下午9:23
 * </pre>
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @NotNull(message = "你完蛋了")
    private String name;
    @NotBlank(message = "你eeeeeeeeeeee完蛋了")
    private String name1;
    @Max(value = 100,message = "你完蛋了")
    private Integer age;

}
